package com.zking.dao.mapper;

import com.zking.dao.domain.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AsDoctorMapper {

    public List<Doctor> showDoctor(int id);

    public List<Doc_schedule> querySchedule(int did ,List<String> list);

    public Doc_schedule selectOrder(String time,int did);

    public Doctor queryDoctor(int id);

    Department queryDept(int deptid);


    void updateSchedule(String time,String dname,String daytime);

    int finishOrder(int d_id,int depet_id,int p_id,String create_time,String order_id);

    void finishPay(String order_id);

    Patient queryPatientByPhone(String phone);

    List<Register> queryRegister(int p_id);

    void insertPay(String time ,double price);

}
